﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;
//using UnityEngine.EventSystems;
//using UnityEngine.Events;

public class Scene0 : MonoBehaviour {

	Button button;
	//public static string  name= "GuanQia";
	LoadScene LOAD;
	void Start () {
		button = transform.Find("/Canvas/Button").GetComponent<Button>();
		EventTriggerListener.Get(button.gameObject).onClick = OnButtonClick;
	
	}

	void Update () {
	
	}
	private void OnButtonClick(GameObject go)
	{
		//Application.LoadLevel("GuanQia");
		LoadScene.name = "GuanQia";
		Application.LoadLevel("Load");
	}
}
